public class ArrayDemo2 {
    public static void main(String[] args) {
        int[] arr1={1,2,3};
        System.out.println(arr1[1]);
        arr1[1]=4;
        System.out.println(arr1[1]);
    }


}
